package com.yidu.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yidu.dao.LockerLeaseMapper;
import com.yidu.model.LockerLease;
import com.yidu.service.LeaseService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author roots
 * @since 2018-10-20
 */
@Service
public class LeaseServiceImpl implements LeaseService {
	@Resource
	LockerLeaseMapper lease;
	
	
	@Override
	public int insertSelective(LockerLease lockerLease) {
		return lease.insertSelective(lockerLease);
	}


	@Override
	public LockerLease selectcode(LockerLease leases) {
		return lease.selectcode(leases);
	}


	@Override
	public int deleteByPrimaryKey(String id) {
		return lease.deleteByPrimaryKey(id);
	}


	@Override
	public int endup(LockerLease lockerLease) {
		return lease.endup(lockerLease);
	}


	@Override
	public List<LockerLease> usercome(String id) {
		return lease.usercome(id);
	}

}
